﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Arc.DairyMan.DairyMan.Common;

namespace Arc.DairyMan.DairyMan.Model
{
    public class SabhasadTransactions : AbsModel
    {
        public int SabhasadTransactionId { get; set; }
        public int SabhasadId { get; set; }
        public int MilkCollectionId { get; set; }
        public int TransactionType { get; set; }
        public DateTime Date { get; set; }
        public decimal Amount { get; set; }

        public SabhasadTransactions()
        {
            FriendlyName = "SabhasadTransactions";
        }

        public override void SetDefaultValues()
        {
            base.SetDefaultValues();
            TransactionMode = TransactionModes.Insert;

            SabhasadId = MilkCollectionId = TransactionType = 0;
            Date = DateTime.Now.Date;
            Amount = 0;
        }
    }
}
